// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App.vue'
import router from './router'
import i18n from './i18n'
import init from '@/inits'
import 'normalize.css'
import 'font-awesome/css/font-awesome.css'
import clickoutside from '@/directives/clickoutside'

Vue.config.productionTip = false

Vue.directive('clickoutside', clickoutside)

/* eslint-disable no-new */
/* tslint:disable */
init().then(() => {
  new Vue({
    el: '#app',
    router,
    i18n: i18n,
    components: { App },
    template: '<App/>'
  })
})
